package com.shenmazong.serverwebpoem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shenmazong.serverwebpoem.pojo.TbStory;

import java.util.List;

/**
 * @author 田不平
 * @project server-web-poem
 * @date 2020/3/23 8:50 PM
 * http://www.shenmazong.com
 */
public interface TbStoryService {

    void add(TbStory appreciation);
    void del(Integer id);
    void set(TbStory appreciation);
    TbStory getById(Integer id);
    List<TbStory> getByPoetryId(Integer id);

    IPage<TbStory> getNoteByPage(Integer pageCurrent, Integer pageSize);
}
